using System;

namespace ZmanimPort.Helpers
{
    public static class MathExtensions
    {
        public static double Radians(this double angdeg)
        {
            return ((angdeg / 180.0) * 3.1415926535897931);
        }

        public static double Degrees(this double angrad)
        {
            return ((angrad * 180.0) / 3.1415926535897931);
        }
    }
}